home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 142
/
Volume 142 Oct 17 2011 - Damaged.iso
/
Interface
/
it.dig
/
scripts
/
__Packages
/
mx
/
styles
/
CSSStyleDeclaration.as
< prev
next >
Wrap
Text File
|
2011-10-17
|
1KB
|
51 lines
class mx.styles.CSSStyleDeclaration
{
static var classConstructed = mx.styles.CSSStyleDeclaration.classConstruct();
static var CSSTextStylesDependency = mx.styles.CSSTextStyles;
function CSSStyleDeclaration()
{
}
function __getTextFormat(tf, bAll)
{
var _loc5_ = false;
if(this._tf != undefined)
{
var _loc2_ = undefined;
for(_loc2_ in mx.styles.StyleManager.TextFormatStyleProps)
{
if(bAll || mx.styles.StyleManager.TextFormatStyleProps[_loc2_])
{
if(tf[_loc2_] == undefined)
{
var _loc3_ = this._tf[_loc2_];
if(_loc3_ != undefined)
{
tf[_loc2_] = _loc3_;
}
else
{
_loc5_ = true;
}
}
}
}
}
else
{
_loc5_ = true;
}
return _loc5_;
}
function getStyle(styleProp)
{
var _loc2_ = this[styleProp];
var _loc3_ = mx.styles.StyleManager.getColorName(_loc2_);
return _loc3_ != undefined ? _loc3_ : _loc2_;
}
static function classConstruct()
{
mx.styles.CSSTextStyles.addTextStyles(mx.styles.CSSStyleDeclaration.prototype,true);
return true;
}
}